<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>类型的判断</title>
		<script>
			//var a = 0.5; //number
			//var a = "hhahha"; //string
			//var a = false; //boolean
			//var type = typeof(a);
			//alert(type);
			var date = Date();
			var d = getDate();
			var day = date.getDay();
			var month = date.getMonth();
			var hour = date.getHours();
			alert(hour);
			alert(day+"-"+month+"-"+hour);
			
		
			
		</script>
	</head>
	<body>
		
	</body>
</html>
